home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 November: Tool Chest / Dev.CD Nov 94.toast / New System Software Extensions / OpenDoc A6 / OpenDoc Parts Framework / OPF / OS / FWGraphx / Include / FWDfault.h < prev    next >
Encoding:
Text File  |  1994-04-21  |  1.9 KB  |  81 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWDfault.h
  4. //    Release Version:    $ 1.0d1 $
  5. //
  6. //    Creation Date:        3/28/94
  7. //
  8. //    Copyright:    © 1993, 1994 by Apple Computer, Inc., all rights reserved.
  9. //
  10. //========================================================================================
  11.  
  12. #ifndef FWDFAULT_H
  13. #define FWDFAULT_H
  14.  
  15. #ifndef FWGCONST_H
  16. #include "FWGConst.h"
  17. #endif
  18.  
  19. #ifndef FWINK_H
  20. #include "FWInk.h"
  21. #endif
  22.  
  23. #ifndef FWSTYLE_H
  24. #include "FWStyle.h"
  25. #endif
  26.  
  27. #ifndef FWRECT_H
  28. #include "FWRect.h"
  29. #endif
  30.  
  31. //========================================================================================
  32. //    •• struct FW_SDefaultProperties
  33. //========================================================================================
  34.  
  35. struct FW_SDefaultProperties
  36. {
  37.     FW_SDefaultProperties();
  38.     FW_SDefaultProperties(FW_CInk ink, FW_CStyle style, FW_ShapeFills fill);
  39.     
  40.     FW_CInk            fInk;
  41.     FW_CStyle        fStyle;
  42.     FW_ShapeFills    fFill;
  43. };
  44.  
  45. //========================================================================================
  46. //    •• FW_SGraphicGlobales
  47. //========================================================================================
  48.  
  49. struct FW_SGraphicGlobales
  50. {
  51.     FW_SGraphicGlobales();
  52.     
  53.     unsigned long            gSeed;
  54.     
  55.     FW_SDefaultProperties    gRect;
  56.     FW_SDefaultProperties    gOval;
  57.     FW_SDefaultProperties    gArc;
  58.     FW_SDefaultProperties    gLine;
  59.     FW_SDefaultProperties    gRoundRect;
  60.     FW_SDefaultProperties    gText;
  61.     FW_SDefaultProperties    gRegion;
  62.     FW_SDefaultProperties    gBitmap;
  63.     FW_SDefaultProperties    gPicture;
  64.     
  65.     FW_CGraphicContext*     gLastGC;
  66.  
  67. #ifdef FW_BUILD_MAC
  68.     WindowPtr                 gScratchWindow;
  69. #endif
  70. };
  71.  
  72. //========================================================================================
  73. //    •• Globales
  74. //========================================================================================
  75.  
  76. const FW_CPoint     FW_kZeroPoint(0,0);
  77. const FW_CRect         FW_kZeroRect(0,0,0,0);
  78.  
  79. FW_SGraphicGlobales gGraphicGlobales;
  80.  
  81. #endif